<html>
<head><meta charset="utf-8"><title>Enable lint search with dashes · clippy · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/index.html">clippy</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/Enable.20lint.20search.20with.20dashes.html">Enable lint search with dashes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="220469464"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/Enable%20lint%20search%20with%20dashes/near/220469464" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> xFrednet <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/Enable.20lint.20search.20with.20dashes.html#220469464">(Dec 19 2020 at 13:14)</a>:</h4>
<p>I would like to improve the search of our <a href="https://rust-lang.github.io/rust-clippy/master/index.html">lint list</a> to support the lint names with dashes like: <code>verbose-file-reads</code>. The console output usually references the lint name with dashes and it's always unnecessary work to replace the dashed with underscores to find the lint. Is that okay with you?</p>
<p>(I didn't knew if I should create an issue for that <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span> )</p>



<a name="220470033"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/Enable%20lint%20search%20with%20dashes/near/220470033" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eduardo Broto <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/Enable.20lint.20search.20with.20dashes.html#220470033">(Dec 19 2020 at 13:32)</a>:</h4>
<p>IMO that would be great! Ideally spaces should work (I think they don't now) and the words out of order too.</p>
<p>Another step would be to search also inside the lint doc, but that would probably require a bigger change <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="220470319"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/Enable%20lint%20search%20with%20dashes/near/220470319" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> xFrednet <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/Enable.20lint.20search.20with.20dashes.html#220470319">(Dec 19 2020 at 13:40)</a>:</h4>
<p>I'll see how difficult it is to expand the search for spaces as well <span aria-label="upside down" class="emoji emoji-1f643" role="img" title="upside down">:upside_down:</span> . The search currently goes through the documentation but the entered words have to be right next to each other. I also thought about creating a discussion issue to get some feedback about the list or other improvement ideas for the list. That could also fall under the topic of <em>Usability</em> in the 2021 roadmap <span aria-label="thinking" class="emoji emoji-1f914" role="img" title="thinking">:thinking:</span></p>



<a name="220470388"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/Enable%20lint%20search%20with%20dashes/near/220470388" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Phil H <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/Enable.20lint.20search.20with.20dashes.html#220470388">(Dec 19 2020 at 13:42)</a>:</h4>
<p>There are also some more website issues filed under the website label: <a href="https://github.com/rust-lang/rust-clippy/labels/L-website">https://github.com/rust-lang/rust-clippy/labels/L-website</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>